<HTML>
<HEAD>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<script language="javascript" src="../script/common.js"></script>
	<style>		
		#detview label{
			width:60px;
		}
		#detview select{
			width:124px;
		}
	</style>
	<!--动态js-->
	<script language="javascript">
		//全局变量
		var qt = {};				//数据表格对象
		var inited = false;			//初始化标志
		//页面控件初始化
		function init(){
			Common.initDict("abateMode","invalidation_type","请选择");
			Common.initDict("abateInformMode","send_type","请选择");
			inited = true;
		}
	　　//页面加载方法
		function load(){
			Eui.showNavigation();
			if (!inited)
				init();	
		}
		//模拟后台显示数据
　　　　　var data = Common.getWBData("abate_data");       
		function bd(d){	
			return [d.abateMode,d.abateClewData,d.abateInformMode,d.frameData,d.endData,d.oper,d.id]; 
		}
		function  onUpdata(){
			if(!checkForm(abateform)) return;
		    var af = Common.getValues(abateform);
			data[af.id] = af;
			showInformation("修改成功");
			Common.setValues(abateform,{});
		}
		//初始数据方法
		function loadData(){
			var dd = data[1];
			Common.setValues(abateform,dd);
			var date = new Date();
			var df = date.format();
			abateform.frameData.value=df;
			abateform.endData.value=df;
		}
	</script>
</HEAD>
<body onload="load()">
	<!--页面导航-->
	<div class="nav"><div id="nav">&nbsp;</div></div>
	<div id="content">
	<div id="detview" style='display:;' align=center>
		<form id='abateform' name='abateform' method='POST'>
			<input type=hidden id=id name=id>
			<input type=hidden name=organization id=organization>
			<input type=hidden id=command name=command value="personPhoto">
			<div class=form>
			<div class="formTitle">积分失效规则明细</div>
				<table cellSpacing=0 cellPadding=4 width="100%" border=0 >
					<tr>
						<td width=50%><label for="abateMode">失效处理方式</label> <select name='abateMode' id='abateMode' onblur="checkV(this,'',true)"></selectt></td>
						<td><label for="abateClewData">失效提示时间</label> <input type=text name='abateClewData' id='abateClewData' value=""  style=''><img align=absMiddle onmouseup='showDatePicker(abateClewData);' src="../images/icon/date.gif" alt="选择日期" style="CURSOR: hand" border="1"></td>	
					</tr>
					<tr>
						<td><label >失效通知方式</label> <select id = "abateInformMode" name="abateInformMode" onblur="checkV(this,'',true)"></select></td>
						<td><label for="frameData">制定时间</label> <input type=text id ="frameData" name="frameData" value=""  style=''></td>	
					</tr>
					<tr>
						<td><label for="endData">最后修改时间</label> <input type=text name='endData' id='endData'  style=''></td>
						<td><label for="oper">操作人员</label> <input type=text name='oper' id='oper'  style=''></td>	
					</tr>
				</table>
				 <button type="button" onclick="onUpdata()">提 交</button>
			</div>
		</form>
	</div>
	</div>
 </body>
</HTML>
